class FPPresetInvoiceIdBean {
  int code;
  Data data;
  String msg;
  String requestId;

  FPPresetInvoiceIdBean({this.code, this.data, this.msg, this.requestId});

  FPPresetInvoiceIdBean.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    data = json['data'] != null ? new Data.fromJson(json['data']) : null;
    msg = json['msg'];
    requestId = json['requestId'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    if (this.data != null) {
      data['data'] = this.data.toJson();
    }
    data['msg'] = this.msg;
    data['requestId'] = this.requestId;
    return data;
  }
}

class Data {
  String account;//开户账号
  String accountBank;//开户行
  int companyId;//公司id
  int createId;//创建用户id
  String createTime;//创建日期
  String customerAddress;//客户地址
  String customerTel;//客户联系方式
  String headerType;//抬头类型 0企业单位
  int id;
  String invoiceName;//发票名称
  int isDefault;//是否默认 0非默认 1默认
  String taxplayerNumber;//纳税人识别号
  int updateId;//修改用户id
  String updateTime;//修改日期

  Data(
      {this.account,
      this.accountBank,
      this.companyId,
      this.createId,
      this.createTime,
      this.customerAddress,
      this.customerTel,
      this.headerType,
      this.id,
      this.invoiceName,
      this.isDefault,
      this.taxplayerNumber,
      this.updateId,
      this.updateTime});

  Data.fromJson(Map<String, dynamic> json) {
    account = json['account'];
    accountBank = json['accountBank'];
    companyId = json['companyId'];
    createId = json['createId'];
    createTime = json['createTime'];
    customerAddress = json['customerAddress'];
    customerTel = json['customerTel'];
    headerType = json['headerType'];
    id = json['id'];
    invoiceName = json['invoiceName'];
    isDefault = json['isDefault'];
    taxplayerNumber = json['taxplayerNumber'];
    updateId = json['updateId'];
    updateTime = json['updateTime'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['account'] = this.account;
    data['accountBank'] = this.accountBank;
    data['companyId'] = this.companyId;
    data['createId'] = this.createId;
    data['createTime'] = this.createTime;
    data['customerAddress'] = this.customerAddress;
    data['customerTel'] = this.customerTel;
    data['headerType'] = this.headerType;
    data['id'] = this.id;
    data['invoiceName'] = this.invoiceName;
    data['isDefault'] = this.isDefault;
    data['taxplayerNumber'] = this.taxplayerNumber;
    data['updateId'] = this.updateId;
    data['updateTime'] = this.updateTime;
    return data;
  }
}